package com.example.miaosh.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.example.miaosh.base.mapper.BaseService;
import com.example.miaosh.entity.ItemModel;
import com.example.miaosh.mapper.ItemModelMapper;

/**
 * 商品模型
 * 
 * @author kai
 *
 */
@Service
public class ItemModelService extends BaseService<ItemModel> {

	@Autowired
	private ItemModelMapper itemModelMapper;

	public int update(Integer id) {
		return itemModelMapper.update(id);
	}
}
